package com.proxy.service.impl;

import com.proxy.service.UserService;

import java.text.SimpleDateFormat;
import java.util.Date;

public class UserServiceProxyNew implements UserService {

    private UserService userService;

    public UserServiceProxyNew(UserService userService) {
        this.userService = userService;
    }

    @Override
    public void createUser() {
        userService.createUser();
        System.out.println("后置操作" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss SSS").format(new Date()));
    }
}
